﻿using System;
using System.Collections.Generic;
using System.Text;

namespace WeChatGZHTextExtractor
{
    /// <summary>
    /// 公开的Key
    /// </summary>
    public static class PublicKey
    {
        /// <summary>
        /// 系统数据
        /// </summary>
        public static class SystemData
        {
            /// <summary>
            /// 发送数据的下标
            /// </summary>
            public const string SEND_DATA_INDEX = "SendDataIndex";

            /// <summary>
            /// 发送数据状态
            /// </summary>
            public const string SEND_STATUS = "SendStatus";

            /// <summary>
            /// 正在发送中
            /// </summary>
            public const string SEND_STATUS_SENDING = "Send::Sending";

            /// <summary>
            /// 发送等待中
            /// </summary>
            public const string SEND_STATUS_WAITING = "Send::Waiting";
        }

        public static class EventType
        {
            /// <summary>
            /// 事件名称
            /// </summary>
            public const string EVENT_NAME = "EventName";

            /// <summary>
            /// HttpGet方式获取数据
            /// </summary>
            public const string HTTP_GET = "HttpGet";

            /// <summary>
            /// 下载图片
            /// </summary>
            public const string IMAGE_DOWNLOAD = "ImageDownload";
        }

        /// <summary>
        /// 网页相关信息
        /// </summary>
        public static class HtmlInfo
        {
            /// <summary>
            /// 请求连接
            /// </summary>
            public const string URL = "Url";

            /// <summary>
            /// 网页内容主体
            /// </summary>
            public const string BODY = "Body";

            /// <summary>
            /// 标题
            /// </summary>
            public const string TILTLE = "Title";

            /// <summary>
            /// 总结
            /// </summary>
            public const string SUMMARY = "Summary";

            /// <summary>
            /// 标示图地址
            /// </summary>
            public const string COVER_PATH = "CoverPath";

            /// <summary>
            /// 分类Id
            /// </summary>
            public const string CATEGORIE_ID = "CategorieId";

            /// <summary>
            /// 标签
            /// </summary>
            public const string TAGS = "Tags";

            /// <summary>
            /// 是否是精品
            /// </summary>
            public const string IS_PRECISION = "IsPrecision";

            /// <summary>
            /// 关键字
            /// </summary>
            public const string KEY_WORDS = "KeyWords";

            /// <summary>
            /// 作者
            /// </summary>
            public const string AUTHOR = "Author";

            /// <summary>
            /// 发布时间
            /// </summary>
            public const string PUBLISH_TIME = "PublishTime";

            /// <summary>
            /// 消息Id
            /// </summary>
            public const string MESSAGE_ID = "MessageId";

            /// <summary>
            /// 引用的URL
            /// </summary>
            public const string REFERENCE_URL = "ReferenceUrl";

            /// <summary>
            /// 文件保存位置
            /// </summary>
            public const string FILE_SAVE_NAME = "FileSaveName";
        }
    }
}
